﻿@model DICOM_PROJECT.Models.ChangePasswordModel

<div id="ChangePasswordForm" class="form">
    <div class="form-content2">
        <div class="row form-heading">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <h3 class="form-heading-title">Change Your Password</h3>
            </div>
        </div>
        <div class="row form-body">
            <div id="changePasswordVM" class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="row form-row">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">@Html.LabelFor(model => model.CurrPass)</div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">@Html.TextBoxFor(model => model.CurrPass, new { @class = "form-control", @data_bind = "value: CurrPass", @placeholder = "Current Password", @type = "password" })</div>
                </div>
                <div class="row form-row" data-bind="visible: CurrPassException">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 valid-info" data-bind="text: CurrPassException"></div>
                </div>
                <div class="row form-row">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">@Html.LabelFor(model => model.NewPass)</div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">@Html.TextBoxFor(model => model.NewPass, new { @class = "form-control", @data_bind = "value: NewPass", @placeholder = "New Password", @type = "password" })</div>
                </div>
                <div class="row form-row" data-bind="visible: NewPassException">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 valid-info" data-bind="text: NewPassException"></div>
                </div>
                <div class="row form-row">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">@Html.LabelFor(model => model.ReType)</div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">@Html.TextBoxFor(model => model.ReType, new { @class = "form-control", @data_bind = "value: ReType", @placeholder = "ReType New Password", @type = "password" })</div>
                </div>
                <div class="row form-row" data-bind="visible: ReTypeException">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
                    <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 valid-info" data-bind="text: ReTypeException"></div>
                </div>
                <div class="row form-row">
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 button-left">
                        <div id="change-password-save" class="btn btn-primary">Save</div>
                    </div>
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 button-right">
                        <div id="change-password-cancel" class="btn btn-default">Cancel</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
